package com.sofwin.ruoyi.scyffinal.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sofwin.ruoyi.scyffinal.dto.RiskUserDeptDto;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 隐患排查计划对象 inspection_plan
 * 
 * @author ruoyi
 * @date 2025-10-14
 */

@Data
@ToString
@TableName("inspection_plan")
public class InspectionPlan
{

    /** 主键，自增 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 排查类别 */
    @Excel(name = "排查类别")
    private Long inspectionType;

    /** 确认状态 */
    @Excel(name = "确认状态")
    private Long confirmStatus;

    /** 计划名称 */
    @Excel(name = "计划名称")
    private String planName;

    /** 检查负责人 */
    @Excel(name = "检查负责人")
    private String inspectionLeader;

    /** 检查部门 */
    @Excel(name = "检查部门")
    private Long hazardDep;

    /** 检查开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 检查结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 执行小组 */
    @Excel(name = "执行小组")
    private String executionTeam;

    /** 计划频次 */
    @Excel(name = "计划频次")
    private String planFrequency;

    /** 检查内容 */
    @Excel(name = "检查内容")
    private String inspectionContent;

    /** 检查标准 */
    @Excel(name = "检查标准")
    private String inspectionStandard;

    /** 风险点 */
    @Excel(name = "风险点")
    private Long riskUnitId;

    /** 相关附件 */
    @Excel(name = "相关附件")
    private String attachmentPath;

    /** 计划编号 */
    @Excel(name = "计划编号")
    private String planNumber;

    /** 计划频次 */
    @Excel(name = "计划次数")
    private String planCount;

}
